package com.yeh.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yeh.dao.UserDao;
import com.yeh.model.vo.User;
import com.yeh.service.UserService;

/**
 * 
 * <p>Title: LoginServiceImpl</p>
 * <p>Description: 登录业务层实现类</p>
 * <p>Company:  Co.</p>
 * <p>Package: com.yeh.service.impl</p>
 * @author <a href="mailto:yehshuai@126.com">叶帅</a>  
 * <p>DateTime: 2015年8月28日 ★  上午10:22:15</p> 
 * @Version V1.0.0
 */
@Service("userService")
public class UserServiceImpl extends BaseSerivceImpl<User,String> implements UserService{

	@Autowired
	protected UserDao userDao;
	

	@Override
	public boolean isExist(Map<String,Object> paramMap){
		return userDao.isExist(paramMap);
	}
	
	@Override
	public void deleteObject(User model) {
		userDao.delete(model);
	}

}
